import service from '@/utils/request'

// @Tags MasterBomModifyNote
// @Summary 创建masterBom-历史修改备注
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MasterBomModifyNote true "创建masterBom-历史修改备注"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /masterBomModifyNote/createMasterBomModifyNote [post]
export const createMasterBomModifyNote = (data) => {
  return service({
    url: '/masterBomModifyNote/createMasterBomModifyNote',
    method: 'post',
    data
  })
}

// @Tags MasterBomModifyNote
// @Summary 删除masterBom-历史修改备注
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MasterBomModifyNote true "删除masterBom-历史修改备注"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /masterBomModifyNote/deleteMasterBomModifyNote [delete]
export const deleteMasterBomModifyNote = (params) => {
  return service({
    url: '/masterBomModifyNote/deleteMasterBomModifyNote',
    method: 'delete',
    params
  })
}

// @Tags MasterBomModifyNote
// @Summary 批量删除masterBom-历史修改备注
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除masterBom-历史修改备注"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /masterBomModifyNote/deleteMasterBomModifyNote [delete]
export const deleteMasterBomModifyNoteByIds = (params) => {
  return service({
    url: '/masterBomModifyNote/deleteMasterBomModifyNoteByIds',
    method: 'delete',
    params
  })
}

// @Tags MasterBomModifyNote
// @Summary 更新masterBom-历史修改备注
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MasterBomModifyNote true "更新masterBom-历史修改备注"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /masterBomModifyNote/updateMasterBomModifyNote [put]
export const updateMasterBomModifyNote = (data) => {
  return service({
    url: '/masterBomModifyNote/updateMasterBomModifyNote',
    method: 'put',
    data
  })
}

// @Tags MasterBomModifyNote
// @Summary 用id查询masterBom-历史修改备注
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.MasterBomModifyNote true "用id查询masterBom-历史修改备注"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /masterBomModifyNote/findMasterBomModifyNote [get]
export const findMasterBomModifyNote = (params) => {
  return service({
    url: '/masterBomModifyNote/findMasterBomModifyNote',
    method: 'get',
    params
  })
}

// @Tags MasterBomModifyNote
// @Summary 分页获取masterBom-历史修改备注列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取masterBom-历史修改备注列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /masterBomModifyNote/getMasterBomModifyNoteList [get]
export const getMasterBomModifyNoteList = (params) => {
  return service({
    url: '/masterBomModifyNote/getMasterBomModifyNoteList',
    method: 'get',
    params
  })
}
